<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_need_recommend')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[reg_need_recommend]', $needList, $row['reg_need_recommend'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_key" class="form-control form-control" name="row[dev_key]" type="text" value="{$row.dev_key}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_user" class="form-control form-control" name="row[dev_user]" type="text" value="{$row.dev_user}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_flag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_flag" class="form-control form-control" name="row[dev_flag]" type="text" value="{$row.dev_flag}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_login')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_login" class="form-control form-control" name="row[dev_login]" type="text" value="{$row.dev_login}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_url" class="form-control form-control" name="row[dev_url]" type="text" value="{$row.dev_url}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_user_pwd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_user_pwd" class="form-control form-control" name="row[dev_user_pwd]" type="text" value="{$row.dev_user_pwd}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iot_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iot_key" class="form-control form-control" name="row[iot_key]" type="text" value="{$row.iot_key}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iot_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iot_user" class="form-control form-control" name="row[iot_user]" type="text" value="{$row.iot_user}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iot_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iot_url" class="form-control form-control" name="row[iot_url]" type="text" value="{$row.iot_url}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Call_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-call_fee" class="form-control form-control" name="row[call_fee]" type="number" value="{$row.call_fee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Max_call_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_call_time" class="form-control form-control" name="row[max_call_time]" type="text" value="{$row.max_call_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_protocol')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reg_protocol" class="form-control form-control" name="row[reg_protocol]" type="text" value="{$row.reg_protocol}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qq_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qq_key" class="form-control form-control" name="row[qq_key]" type="text" value="{$row.qq_key}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qq_appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qq_appid" class="form-control form-control" name="row[qq_appid]" type="text" value="{$row.qq_appid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_appsecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_appsecret" class="form-control form-control" name="row[wx_appsecret]" type="text" value="{$row.wx_appsecret}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_appid" class="form-control form-control" name="row[wx_appid]" type="text" value="{$row.wx_appid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Test')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-test" class="form-control form-control" name="row[test]" type="text" value="{$row.test}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Recharge_send_sms')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[recharge_send_sms]', $sendList, $row['recharge_send_sms'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Recharge_template_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-recharge_template_id" class="form-control form-control" name="row[recharge_template_id]" type="text" value="{$row.recharge_template_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Integral_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-integral_name" class="form-control form-control" name="row[integral_name]" type="text" value="{$row.integral_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Balance_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-balance_name" class="form-control form-control" name="row[balance_name]" type="text" value="{$row.balance_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone_balance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone_balance" class="form-control form-control" name="row[phone_balance_name]" type="text" value="{$row.phone_balance}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Voucher_balance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-voucher_balance" class="form-control form-control" name="row[voucher_balance_name]" type="text" value="{$row.voucher_balance}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_user_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[share_user_level]', $levelList, $row['share_user_level'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appstore_version')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appstore_version" class="form-control form-control" name="row[appstore_version]" type="text" value="{$row.appstore_version}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_0')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_0" class="form-control form-control" name="row[user_level_0_name]" type="text" value="{$row.user_level_0}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_1" class="form-control form-control" name="row[user_level_1_name]" type="text" value="{$row.user_level_1}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_2" class="form-control form-control" name="row[user_level_2_name]" type="text" value="{$row.user_level_2}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_3" class="form-control form-control" name="row[user_level_3_name]" type="text" value="{$row.user_level_3}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_4" class="form-control form-control" name="row[user_level_4_name]" type="text" value="{$row.user_level_4}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Video_vip_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-video_vip_url" class="form-control form-control" name="row[video_vip_url]" type="text" value="{$row['video_vip_url']}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Video_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-video_rate" class="form-control form-control" name="row[video_rate]" type="text" value="{$row['video_rate']}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
